/**
 * 09/dic/2011 - fabio.melillo@gmail.com
 */
package org.unisannio.util;

import java.util.TimerTask;

import org.unisannio.remote.BroadcastContentPeer;

/**
 * Simply calls the BroadcastContentPeer.clearList()
 * 
 * 
 * @author Fabio Melillo
 *
 */
public class TimerTriggeredTask extends TimerTask {

	private BroadcastContentPeer caller;
	
	public TimerTriggeredTask(BroadcastContentPeer caller) {
		this.caller=caller;
	}

	
	@Override
	public void run() {
		caller.clearLists();
	}

}
